//引入vue
import Vue from "vue";
//引入App
import App from "./App.vue";

//引入插件
import vueResource from "vue-resource";

Vue.config.productionTip = false;

//应用插件
Vue.use(vueResource);

//创建vm
new Vue({
    el: "#app",
    render: (h) => h(App),
    beforeCreate() {
        Vue.prototype.$bus = this;
    },
});
